Trace Canceller with Equalizer Adjusted for Trace Length Driving Variable-Gain Amplifier with Automatic Gain Control Loop

ABSTRACT

Distortions of both amplitude and phase along a transmission line are compensated for by a trace canceller inserted between a transmitter and a receiver. The trace canceller has an equalizer that compensates for a trace length between the transmitter and the trace canceller. A variable gain amplifier between the equalizer and an output buffer has its gain controlled by an automatic gain control circuit that compares low-frequency swings of the input and output of the trace canceller. The gain of the variable gain amplifier is reduced to prevent the output buffer from saturating and clipping peak voltages on its output. Thus both the variable gain amplifier and the output buffer remain in the linear region. Training pulses from the transmitter are passed through the trace canceller without clipping of peak voltages, allowing the transmitter and receiver to adjust transmission parameters to best match the transmission line.

FIELD OF THE INVENTION

This invention relates to transmission-line drivers, and more particularly to trace-canceling drivers.

BACKGROUND OF THE INVENTION

Transmission lines are difficult to drive with integrated circuit (IC) buffers. The relatively small size of the IC transistors produce a limited amount of current to drive the relatively long transmission line. As IC devices shrink, the length of transmission lines tend to remain constant, increasing the relative mis-match. Also, higher speed transitions are more prone to undesirable effects such as distortion and ringing.

FIG. 1A shows a prior art transmission line. The transmission line is 40 inches long in this example. Transmitter 102 drives transmission voltages VTx onto the near end of the transmission line. Signals caused by transitions of VTx travel down the transmission line and reach receiver 104 as received voltages VRx. The relatively long length of the transmission line causes distortions in the received signals, such the attenuation of high frequency pulses being larger than the attenuation of low frequency pulses, and the signal delay differs for different frequencies. Thus both amplitude and phase distortion occur at the received voltage VRx.

In FIG. 1B, a redriver is placed on the transmission line. Redriver 106 is placed midway on the transmission line, about 10 inches from transmitter 102 and 30 inches from receiver 104 in this example. Redriver 106 can cancel phase distortion due to the transmission line between 102 and 106. Hence redriver 106 can extend the total allowable distance between the 102 and 104.

Redriver 106 normally has a non-linear limiting amplifier that has a fixed or limited output swing. The pulse with different frequencies that is transmitted by redriver 102 may not the have same swing because of the pre-emphasis or de-emphasis setting. However, the signal VRx received by redriver 106 from transmitter 102 is amplified by non-linear redriver 106, and the maximum voltage of all frequencies is often reached, causing voltages to be limited or clipped on the output of redriver 106, signal VTx2. This means that the output amplitude of the pulse with different frequencies at the output of redriver 106 is the same or similar and the swing at the output of redriver 106 is independent of the input swing. Hence, the input amplitude information is lost.

Transmitter 102 may send a training sequence of pulses or other signals on VTx to receiver 104. The amplitude of the transmitted signal from transmitter 102 may be varied during training to determine the optimal amplitude to use. Other transmission characteristics may also be varied during training, such as an amount of pre-emphasis or de-emphasis, signal frequency, etc.

During the training sequence, the distortion caused by the transmission line is detected by receiver 104, and transmitter 102 may adjust its transmission characteristics, such as output swing, pre-emphasis/de-emphasis, signal frequency and signal pattern. However, when redriver 106 is inserted between transmitter 102 and receiver 104, these training pulses may be clipped by the voltage-limiting amplifier in redriver 106. Thus the amplitude sent by transmitter 102 may be limited or clipped by redriver 106, causing receiver 104 to receive training pulses at VRRx with clipped peaks or other distortions introduced by redriver 106.

FIG. 2 is a waveform diagram of simplified training pulse on a transmission line. Transmitter 102 sends training pulses as variations in voltage VTx. Typically, the insertion loss of the transmission line is proportional to the frequency, so the amplitude at higher frequencies is normally less than the amplitude at lower frequencies. To compensate for this effect, transmitter 102 increases the drive current at higher frequencies, causing the near-end voltage VHF for high frequency to be larger than the near-end voltage for low frequency VLF. Thus transmitter 102 boosts the output amplitude at high frequency (VHF) relative to that of low frequency (VLF). For example, transmitter 102 may increase the amplitude by 50% at high frequency, so that the ratio of VHF/VLF=1.5, as measured at the output of transmitter 102, transmitted voltage VTx.

The received voltage VRx at the far end of the transmission line that is input to receiver 104 has a reduced amplitude due to losses on the transmission line. Thus VHF is reduced by a factor A at receiver 104. Also, the ratio of VHF/VLF is reduced to about 0.6 because the optimum trace length for transmitter 102 is 30 inches, for this example. Thus while ratio of high and low frequency amplitude is 1.5 at the output of transmitter 102, it falls to a ratio of 0.6 at the input to receiver 104.

In addition to a reduction in amplitude along the length of the transmission line at high frequencies, phase also distorted. The phase delay of the received signal VRx is dependent on the signal frequency, which is due to capacitive and other loading effects of the transmission line. For example, the phase delay at high frequency P1 may be smaller than the phase delay at lower frequency P2, when measured at the input to redriver 106, signal VRx.

When redriver 106 is inserted between transmitter 102 and receiver 104, the input to redriver 106 is voltage VRx. Phase distortions are reduced by redriver 106, so that P1 is about equal to P2 on the output from redriver 106, signal VTx2, but amplitude distortions remain. Hence, the ratio of VHF/VLF is about 0.8 (less than 1.0) at the VRRx input of receiver 104 even though transmitter 102 can drive VTx to an optimum of 30 inches of trace length, and redriver 106 can restore the phase distortion due to 10 inches of transmission line.

What is desired is a trace canceller that does not limit amplitude. A trace canceller that is inserted on a transmission line between a transmitter and a receiver is desired to cancel trace distortions of both phase and amplitude.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1A shows a prior art transmission line.

FIG. 1B shows a redriver placed on the transmission line.

FIG. 2 is a waveform diagram of simplified training pulse on a transmission line.

FIG. 3 is a block diagram of a trace canceller for a transmission line.

FIG. 4 shows a trace canceller placed on the transmission line.

FIG. 5 is a waveform diagram of simplified training pulse on a transmission line when a trace canceller is used to cancel phase and amplitude distortions.

FIG. 6 is a schematic of an equalizer.

DETAILED DESCRIPTION

The present invention relates to an improvement in transmission line drivers. The following description is presented to enable one of ordinary skill in the art to make and use the invention as provided in the context of a particular application and its requirements. Various modifications to the preferred embodiment will be apparent to those with skill in the art, and the general principles defined herein may be applied to other embodiments. Therefore, the present invention is not intended to be limited to the particular embodiments shown and described, but is to be accorded the widest scope consistent with the principles and novel features herein disclosed.

FIG. 3 is a block diagram of a trace canceller for a transmission line. Both phase and amplitude distortions are cancelled by the trace canceller. Trace canceller 80 of FIG. 3 can replace redriver 106 of FIG. 1B.

The gain parameter input to variable gain amplifier 10 is adjusted by automatic gain control 12 in response to the difference of the low frequency swing between the input and output of the trace canceller circuit. Equalizer 20 compensates for phase and amplitude distortions on the transmission line from transmitter 102. Output buffer 14 is prevented from leaving its linear region to prevent waveform clipping or voltage limiting. The gain of variable gain amplifier 10 is reduced by automatic gain control 12 for larger swings of the input voltage, preventing amplifier or output buffer saturation.

An input from transmitter 102 (FIG. 1B) VTx is applied to equalizer 20. Equalizer 20 compensates for phase and amplitude distortions on the transmission line from transmitter 102. The trace length is input to equalizer 20 as a parameter that adjusts the degree or strength of equalization produced by equalizer 20.

The equalized output from equalizer 20 is input to variable gain amplifier 10. Variable gain amplifier 10 amplifies the equalized signal from equalizer 20 and drives an amplified signal to output buffer 14. Output buffer 14 then drive the remainder of the transmission line to receiver 104 (FIG. 1B). Voltage VRTCx is the far-end voltage of the transmission line at the input to receiver 104.

The output of output buffer 14 is compared to the input to equalizer 20 by automatic gain control 12. The gain parameter input to variable gain amplifier 10 is adjusted by automatic gain control 12 in response to the difference of the low frequency swing between the input and output of the trace canceller circuit. When the amplitude of the output from output buffer 14 is larger than the input to equalizer 20, automatic gain control 12 decreases the gain parameter to variable gain amplifier 10, causing variable gain amplifier 10 to reduce amplification and thus reduce the amplitude of the output from output buffer 14.

When the amplitude of the output from output buffer 14 is less than the input to equalizer 20, automatic gain control 12 increases the gain parameter to variable gain amplifier 10, causing variable gain amplifier 10 to increase amplification and thus increase the amplitude of the output from output buffer 14. Automatic gain control 12 can have a low-pass filter to smooth out variations in amplitude over many cycles.

Output buffer 14 is a linear output buffer, as long as its input and output voltages swings stay within a limited or designed range. Large voltage swings could cause distortions by output buffer 14. These large voltage swings are prevented by careful control of the voltage amplification factor or gain of variable gain amplifier 10.

Variable gain amplifier 10 is a linear amplifier and thus does not distort the signal, as long as variable gain amplifier 10 operates within the limited/designed range. Automatic gain control 12 compares the low-frequency swings of the output of output buffer 14 to the low-frequency swings of the input to equalizer 20. Thus automatic gain control 12 ensures that the gain of variable gain amplifier 10 is set to an optimum value which ensures that the low frequency swing at the output of output buffer 14 is about the same as that at the input of equalizer 20.

Since output buffer 14 is prevented from leaving its linear region and the swing at the input of equalizer 20 is within the designed range, waveform clipping or voltage limiting does not occur. The gain of variable gain amplifier 10 is reduced by automatic gain control 12 for larger swings of the input voltage, preventing amplifier or output buffer saturation. Waveforms are shrunk in amplitude to prevent saturation. Thus the trace canceller is operating in the designed condition; both phase and amplitude distortions due to the trace can been cancelled and the length of the transmission line that can be cancelled is defined by the parameters of the equalizer setting.

FIG. 4 shows a trace canceller placed on the transmission line. Trace canceller 80 is placed midway on the transmission line, about 10 inches from transmitter 102 and 30 inches from receiver 104. By setting the equalizer control parameter input to equalizer 20 to 10 inches, the effect of 10 inches transmission line has been cancelled. Thus the optimum transmission length that can be driven by transmitter 102 is 40 inches rather 30 inches.

Trace canceller 80 does not have a non-linear limiting amplifier, so its output voltage is not limited or clipped. Instead, automatic gain control 12 continuously adjusts the gain of variable gain amplifier 10 so that the amplitude does not reach a maximum limit. Since clipping does not occur, the input information is not lost or approximated. Training pulses are not clipped or destroyed by trace canceller 80. Receiver 104 receives full training pulses without clipped peaks or other distortions introduced by redriver 106.

Transmitter 102 drives signal VTx onto the first segment of the transmission line, which inputs signal VRx to trace canceller 80. Trace canceller 80 then drives signal VTx2 onto the second segment of the transmission line, which is received by receiver 104 as signal VRTCx.

FIG. 5 is a waveform diagram of simplified training pulse on a transmission line when a trace canceller is used to cancel phase and amplitude distortions. Transmitter 102 (FIG. 4) sends training pulses as variations in voltage VTx. At high frequency, the maximum or peak voltage is VHF. Typically, the insertion loss of the transmission line is proportional to the frequency, so the amplitude at higher frequencies is normally smaller than the amplitude at lower frequencies.

To compensate for this effect, transmitter 102 increases the drive current at higher frequencies, causing the near-end voltage VTx to be artificially boosted. Thus transmitter 102 boosts the output amplitude at high frequency relative to that of low frequency. For example, transmitter 102 may increase the amplitude by 50% at high frequency, so that the ratio of VHF/VLF=1.5, as measured at the output of transmitter 102, transmitted voltage VTx.

The received voltage VRx (at the input to trace canceller 80) at the far end of the first segment of the transmission line has a reduced amplitude due to losses on the transmission line. Thus VLF is reduced by a factor A at trace canceller 80. Also, the ratio of VHF/VLF is reduced to about 1.3 at the far end due to losses on the transmission line.

In addition to a reduction in amplitude along the length of the transmission line at high frequencies, phase also distorted. The high frequency phase loss P1 may not be equal to the low frequency phase loss P2 at the input to trace canceller 80. The delay of the received signal VRx is dependent on the signal frequency, which is relative to the loading effects of the transmission line.

Both phase distortions (P1-P2) and amplitude distortions A are reduced by the trace canceller. The ratio of VHF/VLF is restored to about 1.5 at the output of the trace canceller, signal VTx2, and the ratio of VHF/VLF is about 1.0 at the far end (VRTCx) since the trace canceller compensates for losses on the 10-inch transmission line. No voltage-limiting amplifier in used by the trace canceller, so the amplitude of the received re-driven signal VRTCx is not clipped or reduced.

FIG. 6 is a schematic of an equalizer. Equalizer 20 receives differential input VIN+, VIN− on the gates of n-channel differential transistors 38, 36, respectively, which have their sources tied together at the drain of n-channel sink transistor 39. The drain of differential transistor 36 is signal N1P. Pull-up resistor 34 sources current to N1P.

The drain of differential transistor 38 is signal N1N. Pull-up resistor 32 sources current to N1N. Signals N1P and N1N from first equalizer stage 30 are input to second equalizer stage 40

Signal N1P is applied to the gate of n-channel differential transistor 46, while signal N1N is applied to the gate of n-channel differential transistor 48 in second equalize stage 40. N-channel sink transistor 58 is connected to the source of differential transistor 46 while n-channel sink transistor 56 is connected to the source of differential transistor 48. Sink transistors 39, 56, 58 receive a bias voltage VBIASN on their gates and have their sources connected to ground.

The drain of differential transistor 46 is signal N2N. Pull-up resistor 42 sources current to N2N. The drain of differential transistor 48 is signal N2P. Pull-up resistor 44 sources current to N2P. Signals N2P, N2N are the equalized outputs from equalizer 22 to differential multiplier 10.

Equalizing resistor 50 connects the sources of differential transistors 46, 48 and provides equalization. Capacitors 52, 54 are connected between sources of differential transistors 46, 48 and power. The values of some or all of equalizing resistor 50 and capacitors 52, 54 and VBIASN may be controlled by the equalizing control input TRACE_LEN (FIG. 3) to control the amount of attenuation of different frequency components. For example, resistor 50 may be a variable resistor with TRACE_LEN controlling its resistance value.

Alternate Embodiments

Several other embodiments are contemplated by the inventors. Many kinds of implementations of the blocks described herein could be substituted. For example other components such as capacitors, resistors, buffers, and transistors may be added. Inversions may be added using inverters or by swapping differential lines. Many choices for transistor device sizes could be made. Additional stages could be added. Many kinds of bias-voltage generators could be used, or an external bias voltage used. Input and output buffers and drivers could be added. The sensitivity and switching thresholds may be adjusted by varying ratios of transistor sizes.

Different filtering may be used, including addition of capacitors or the use of parasitic resistances and capacitances. Larger capacitance values can further smooth intra-cycle variations and prevent false triggering at cross-over when VIN+, VIN− are momentarily equal. Other kinds of amplifiers, gain controllers, output buffers, and equalizers could be substituted. The low pass filter in automatic gain control 12 may be a simple capacitor and resistor, or may be more complex. The cross-over connections in equalizer 20 shown in FIG. 6 may be deleted to have straight connections.

While single signals have been shown in some figures, such as FIG. 3, the signals may be differential signals having a pair of lines that include a true line and a complement line. The transmitter drives the complement line low when driving the true line high for a logic 1, and the transmitter drives the complement line high when driving the true line low for a logic 0. The logic values may also be inverted.

The background of the invention section may contain background information about the problem or environment of the invention rather than describe prior art by others. Thus inclusion of material in the background section is not an admission of prior art by the Applicant.

Any methods or processes described herein are machine-implemented or computer-implemented and are intended to be performed by machine, computer, or other device and are not intended to be performed solely by humans without such machine assistance. Tangible results generated may include reports or other machine-generated displays on display devices such as computer monitors, projection devices, audio-generating devices, and related media devices, and may include hardcopy printouts that are also machine-generated. Computer control of other machines is another tangible result.

Any advantages and benefits described may not apply to all embodiments of the invention. When the word “means” is recited in a claim element, Applicant intends for the claim element to fall under 35 USC Sect. 112, paragraph 6. Often a label of one or more words precedes the word “means”. The word or words preceding the word “means” is a label intended to ease referencing of claim elements and is not intended to convey a structural limitation. Such means-plus-function claims are intended to cover not only the structures described herein for performing the function and their structural equivalents, but also equivalent structures. For example, although a nail and a screw have different structures, they are equivalent structures since they both perform the function of fastening. Claims that do not use the word “means” are not intended to fall under 35 USC Sect. 112, paragraph 6. Signals are typically electronic signals, but may be optical signals such as can be carried over a fiber optic line.

The foregoing description of the embodiments of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not by this detailed description, but rather by the claims appended hereto. 

1. A trace canceller for canceling distortions on a transmission line comprising: an input connected to a far end of a first segment of a transmission line driven at a near end by a transmitter; an output connected to a near end of a second segment of the transmission line connected at a far end to a receiver; an equalizer connected to the input and having a trace-length control input for adjusting a degree of compensation performed by the equalizer to compensate for the first segment of the transmission line to generate an equalized signal; a variable gain amplifier, receiving the equalized signal from the equalizer, for amplifying the equalized signal by a gain determined by a variable-gain input to the variable gain amplifier to generate an amplified signal; an output buffer, receiving the amplified signal from the variable gain amplifier, for generating an output signal on the output; and an automatic gain control circuit, connected to the input and to the output, for comparing low-frequency voltage swings of the output to low-frequency voltage swings of the input to generate the variable-gain input to the variable gain amplifier, wherein the gain of the variable gain amplifier is adjusted by the automatic gain control circuit to prevent saturating voltage swings of the amplified signal and prevent the output buffer from clipping voltage peaks of the output signal.
 2. The trace canceller of claim 1 wherein the transmitter sends training pulses to the receiver through the trace canceller, wherein the trace canceller passes the training pulses through from the input to the output without clipping voltage peaks of the training pulses, whereby distortion of the training pulses is avoided by gain control of the trace canceller.
 3. The trace canceller of claim 2 wherein a ratio of a peak voltage of the training pulses at a high frequency to a peak voltage of the training pulses at a low frequency is about 1.5 on the output signal.
 4. The trace canceller of claim 1 wherein the trace canceller compensates for phase distortions and compensated for amplitude distortions by the transmission line, whereby both phase and amplitude distortions are corrected by the trace canceller.
 5. The trace canceller of claim 1 wherein the trace-length control input to the equalizer has a value that is proportional to a length of the first segment of the transmission line.
 6. The trace canceller of claim 1 wherein the trace-length control input selects an attenuation of frequency components by the equalizer.
 7. The trace canceller of claim 1 wherein the input comprises a true differential input and a complement differential input, the true and complement differential inputs being driven by the transmitter to opposite states during normal operation, wherein the input and the output are differential signals.
 8. The trace canceller of claim 7 wherein the equalizer comprises: a first-stage current sink; a true first-stage differential transistor that conducts current between a first inter-stage node and the first-stage current sink in response to a gate that receives the true differential input; a true first-stage current source to the first inter-stage node; a complement first-stage differential transistor that conducts current between a second inter-stage node and the first-stage current sink in response to a gate that receives the complement differential input; a complement first-stage current source to the second inter-stage node; a true second-stage current sink connected to a true equalizing node; a true second-stage differential transistor that conducts current between an equalized true differential input and the true equalizing node in response to a gate that receives the first inter-stage node; a true second-stage current source to the equalized true differential input; a complement second-stage current sink connected to a complement equalizing node; a complement second-stage differential transistor that conducts current between an equalized complement differential input and the complement equalizing node in response to a gate that receives the second inter-stage node; a complement second-stage current source to the equalized complement differential input; and an equalizing resistor coupled between the true equalizing node and the complement equalizing node; wherein the equalized signal comprises the equalized true differential input and the equalized complement differential input.
 9. The trace canceller of claim 8 wherein the equalizing resistor is a variable resistor that has a resistance value controlled by the trace-length control input.
 10. The trace canceller of claim 9 wherein the true first-stage differential transistor, the complement second-stage differential transistor, and the complement second-stage differential transistor are n-channel transistors.
 11. The trace canceller of claim 10 wherein the first-stage current sink, the true second-stage current sink, and the complement second-stage current sink each comprise an n-channel transistor to ground having a gate driven by a bias voltage, wherein a voltage of the bias voltage is controlled by the trace-length control input.
 12. A transmission line intermediate trace canceller placed between a transmitter and a receiver comprising: an equalizer input connected to a first segment transmission line that is driven by the transmitter; an output buffer driving a trace canceller output connected to a second segment transmission line that drives the receiver at a far end; an automatic gain controller, connected to the equalizer input and to the trace canceller output, for generating a gain control signal in response to low-frequency voltage swings on the trace canceller output and on the equalizer input; an equalizer, receiving the equalizer input and generating an equalized output, for attenuating frequency components of the equalizer input to generate the equalized output; and a variable gain amplifier, coupled between the equalizer and the output buffer, and receiving the gain control signal from the automatic gain controller, the variable gain amplifier amplifying the equalized output by an amplification factor indicated by the gain control signal to generate an amplified output; wherein the amplified output is applied to the output buffer; wherein the automatic gain controller reduces the gain control signal to prevent the output buffer from operating in a non-linear region of operation, wherein the trace canceller output is linearly related to the amplified output; whereby the output buffer is linear to prevent clipping of voltage peaks of a signal on the equalizer input.
 13. The transmission line intermediate trace canceller of claim 12 further comprising: a control input to the equalizer, the control input controlling a degree of attenuation of frequency components by the equalizer.
 14. The transmission line intermediate trace canceller of claim 13 wherein the control input to the equalizer has a value that is proportional to a length of the first segment transmission line.
 15. The transmission line intermediate trace canceller of claim 13 wherein the automatic gain controller compares low-frequency voltage swings on the trace canceller output to low-frequency voltage swings on the equalizer input to generate the gain control signal.
 16. The transmission line intermediate trace canceller of claim 15 wherein the transmitter sends training pulses to the receiver through the variable gain amplifier and the output buffer, wherein the variable gain amplifier and the output buffer pass the training pulses through from the equalizer input to the trace canceller output without clipping voltage peaks of the training pulses, whereby distortion of the training pulses is avoided by gain control of the variable gain amplifier.
 17. The transmission line intermediate trace canceller of claim 16 wherein a ratio of a peak voltage of the training pulses at a high frequency to a peak voltage of the training pulses at a low frequency is about 1.5 on the trace canceller output.
 18. The transmission line intermediate trace canceller of claim 17 wherein the transmission line intermediate trace canceller compensates for phase distortions and compensates for amplitude distortions by the first segment transmission line, whereby both phase and amplitude distortions are corrected by the transmission line intermediate trace canceller.
 19. A trace canceller comprising: an input connected to a far end of a first segment of a transmission line driven at a near end by a transmitter; an output connected to a near end of a second segment of the transmission line connected at a far end to a receiver; equalizer means, connected to the input and having a trace-length control input, for adjusting a degree of attenuation to compensate for the first segment of the transmission line to generate an equalized signal; variable gain amplifier means, receiving the equalized signal from the equalizer means, for amplifying the equalized signal by a gain determined by a variable-gain input to the variable gain amplifier means to generate an amplified signal; output buffer means, receiving the amplified signal from the variable gain amplifier means, for generating an output signal on the output; and automatic gain control means, connected to the input and to the output, for comparing low-frequency voltage swings of the output to low-frequency voltage swings of the input to generate the variable-gain input to the variable gain amplifier means, loop means for adjusting the gain of the variable gain amplifier means by the automatic gain control means comparing the input and output to prevent saturating voltage swings of the amplified signal and for preventing the output buffer means from clipping voltage peaks of the output signal; wherein the equalizer means, the variable gain amplifier means, the automatic gain control means, and the output buffer means together form a compensation means for compensating for phase distortions and for compensating for amplitude distortions by the transmission line, whereby both phase and amplitude distortions are corrected by the trace canceller.
 20. The trace canceller of claim 19 wherein the transmitter sends training pulses to the receiver through the trace canceller, wherein the trace canceller passes the training pulses through from the input to the output without clipping voltage peaks of the training pulses, whereby distortion of the training pulses is avoided by gain control of the trace canceller. 